fixed an error that prevented the file from being written
bug report: "In { .. | t%d%d }" with animals causes data inconsistency!
Authored by: cdburgard 2011-12-30
Parent: [r157]
Child: [r159]