Add support for filenames containing spaces.