How to replace spaces in file names using a bash script