Allow customization of target file extension