Redmine#4913: file_hash function
Merge pull request #1618 from tzz/redmine4913-file_hash

Redmine#4913: file_hash function