Fix/punctuation avoid overwritting tmp files
# What does this PR do ?

When tarred dataset is created temporary files for text and labels are used. Previously if several scripts were run simultaneously there were risk of race condition because temporary files had hardcoded names.

**Collection**: nlp

# Changelog 
- `tempfile.mksfile()` lib is used
- File creation and usage is wrapped into `try: ... finally: ...` clause.

