Writing file extension to filename is now optional