fix #11096: import directory uniqueness exception handling

To review, scrutinize http://trac.openmicroscopy.org.uk/ome/ticket/11096 and consider if this new `makeCheckedDirs` will help. (Also check that imports didn't break, etc.)