Fixed MD5 hash to handle larger files