Format ninja targets from file paths.

TODO:
- target extension mapping (e.g. specify '.c' to '.o')
- output relative paths (i.e. mutate source paths to be relative to output file)
- canonicalize paths (don't need relative paths, but now system/user specific)
