Fix newline bug in a3mToXX.py scripts