Process input file a record at a time

Don't hold all translated records in memory before printing it out.