util.py: quote failed command for readability