fixed output of files containing space in path