added \n to gap file output