bash script to replace spaces with underscores in filenames