Fix compilation problem -- shouldn't return m_file as a bool, use m_file.good() instead.
RLA output did consider BitsPerSample properly
Better exception safety in scan_for_matching_filenames.
More robust to malformed patterns.