refactor into wavfile2hashes; added hashes_save and hashes_load