backend.py: Make FlatFileRecord._format include the trailing newline.