Fix file name management in Windows
Add input files directory to save dialog.

- Add a shortcut to the directory of the input files (actually, the first) in the save dialog sidebar.
- Fix file name manipulation in other classes with QFileInfo.