Add extension based on export type, if no extension specified