call irods commands with shell=True in unittests