Encode file_id as UTF-8 before hashing.
Merge pull request #19 from Beluki/master

Encode file_id as UTF-8 before hashing.