Merge pull request #306 from redcape/regex-hashsum-check2

Fix for hashsum: fix file checking #305
Merge branch 'master' into fix-bin-file-read