Fixed hashing of received files