Fixed some bugs with regards to \r in filenames.
Fixed some bugs with regards to \r in filenames.

fvpolpeta/devide,nagyistoce/devide,ivoflipse/devide,fvpolpeta/devide,ivoflipse/devide,chrisidefix/devide,zhangfangyan/devide,chrisidefix/devide,zhangfangyan/devide,nagyistoce/devide