Fix problem with detecting data type
We are currently skipping waveform files by inspecting the name of the file. However, for some Centaur and Pegasus data sets whose station name match a pattern used to filter waveform files, all their files are skipped. We fix this problem by moving the check for waveform files.