distribute_file_into_directory.sh fix

The script was breaking with filenames that had spaces.