Swap order of truncation and file format/encoding.