fix field padding for file outputs