Save a Copy

Modified code to save a copy of mxd. Also added code to handle
exceptions. Changed workspace parameter name to directory.