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

This fixes getting content from git for revisions of files that have spaces in either the path or the filename.