Fixed issue when trying to save caused by filename returned by PySide dialog being a tuple and not a single string. Also added a bit of docstring.