Cleanup and bug fix for Gaussian PCM file parsing.