Fix getting content from git for filenames with spaces in them.