Reading and writing files containing sampled sound (like WAV or AIFF)