SHDP-423 Partition writer doesn't clean resources

- Add AbstractPartitionDataStoreWriter.destroyWriter(Path)
  so that subclass can destroy writers by path.
- Override TextFileWriter.close() in PartitionTextFileWriter
  to catch close and notify parent.