images/img_dump: Add support for TRN files.