fix: output file's form and extension.