This permits to write state files to a location other than the rsyslog working directory. This may be desirable for some use cases. closes https://github.com/rsyslog/rsyslog/issues/2558