dataset.py small improvements

* Docstrings and comments
* Removed unreachable `return None`
* Ignore only 'directory already exists' exception, re-raising other exceptions (all exceptions were ignored during empty directories creation)

P.S. I don't know what conventions are in project now for docstrings, used Sphinx/RST syntax that is common for python code.