Fixed special-characters bug.

Special characters made the X-File-Name header invalid.
Merge pull request #1 from larseliassen/master

Fixed special-characters bug.