Set backend to Agg within plotting function to make plotting work on Uppmax. Fix writing of fasta names in main.