Fix a name bug

When file name contains multi-byte char, the http header `Content-Length` will be wrongly set.

I added a file named `test/fixtures/さくら.txt` to reproduce the issue.