Your ls command is broken. By default it is putting quotes around filenames with spaces. The fact that I have to research a work-around for this bug since it hasn't been fixed yet gives me a depressed feeling over the state of software development these days.
Please fix this. - Charlton