Fixes large file store method hash_file for php > 5.2.6

This is similar to the previous PR.  hash_file's behaviour has changed as well

Here is a little [3v4l proof](http://3v4l.org/WTLTe) of the change.