Update sam2fasta subroutine to mkdir -p output_dir=> to be consistent with other subroutines