avoiding in-memory copy of wav files by reading directly from file during copy