replace FileUtils.parseUrl with own implementation to get the parent directory of the file to be saved. FileUtils.parseUrl erroneously remove the drive letter from the path on win which may result in a wrong default directory for the save as dialog.
- rename getParent to getDirectoryPath
- add unit tests
update JSDoc
Small cleanup in unit test.