[BUGFIX] Exception "Could not create directory"