Add the `FT_ERROR' corresponding to a file access violation.
Return `FT_GZ' in case of a BAM file, return `FT_ERROR' in case of a
file access error and return `FT_UNK' in case of a unknown file type.