Fixed special-characters bug.

Special characters made the X-File-Name header invalid.