change CAPS file extansions and fix spaces in file names