Allow passing miniLLRepeats to write_APS_file()

--BRJ and CAR