Fixed issue with AutoFlush on FileTarget.
Merge pull request #415 from richol/master

Fixed issue (#414) with AutoFlush on FileTarget.