strip trailing / from irods path