Replaced File::getMD5() and File::getSHA1() methods with File:getHash($algo);

Should partially fix issue #74