Ignore error 'directory already exists' instead of ignoring any errors
dataset.py docstrings and comments
Removed unreachable 'return None'
Made is_image_file private and static (not really needed outside)
Merge pull request #3 from kolen/dataset-small-improvements

dataset.py small improvements