fix the bug that fileRotate() could be invoked more than once in an actual file rotate activity
Merge branch 'master' of github.com:cltlfcjin/blackhole