[b] Can't write invalid UTF-8 character
[b] put_file correctly by using file content
[b] User can submit both file or file content in put_file
Merge pull request #1 from hieuk09/master

[b] Can't write invalid UTF-8 character