MATLAB-style wavread and wavwrite functions for python