Fixed the wave module testing on big-endian platforms.

array.fromfile() works only with file objects, not io.FileIO instances.