naive fix for filenames with spaces