fixes whitespace issue in file paths

mv fails when a file path contains any whitespace characters