Improved handling of current directory (especially for cfg files). If the current directory is the user dir or read-only a separate directory will be created.
Authored by: hagru 2013-04-15
Parent: [r105]
Child: [r107]