nanshe/pathHelpers.py: Copied pathHelpers from lazyflow to avoid having to import lazyflow to see if it reduces SPAMS crashes.
nanshe/nanshe_learner.py: Use local copy of pathHelpers.
nanshe/tiff_file_format.py: Use local copy of pathHelpers.