Change the default file extension to reflect the type of data in it