cleanUpPath for LIO and IO
actually expose cleanUpPath