export: add -fmt format option for file names