added function for from_aiff and added a file close to wav exports because python was holding an open handle to the file