Made script not die when one line of the SAM file is not good; instead prints
error message and skips that line.