potential fix for check_magic() hanging by avoiding the od pipe to head: now uses -N 16 instead
removed extraneous check_magic() methods, and now bam and bcf both check magic to test the filetype