Can now read raw data from gzipped pfiles.
Refactored psd type detection to be sane