Issue #65, spaces in filenames...

PHP.net does not allow spaces in filenames.
Added str_replace for it.

Issue #65