BytesIO type for wavfile unittests