Refactored loading for a) WAV files with disorganized headers and b) large files (only relevant for 64-bit)