Fixes for the pymol.write and molmol.write user function GUI pages.
The directory argument to the user function back end is now set to None as otherwise it defaults to
a directory such as 'pymol' which is then incompatible with the absolute file path from the file
dialog.