bugfix: imfile: if a state file for a different file name was set,

that different file (name) was monitored instead of the configured
one. Now, the state file is deleted and the correct file monitored.

closes: https://github.com/rsyslog/rsyslog/issues/103
Merge branch 'v7-stable' into v8-stable
nit: fix copyright year
maintain ChangeLog