SHDP-447 PartitionTextFileWriter doesn't stop TextFileWriter

- Added lifecycle stop() call when TextFileWriter close() is called
  which should stop running tasks in underlying writer.
- Added one new smoke test to catch this bug.
- Little more logging which should help if trouble returns.