Changing Exception type raised on error code to CalledProcessError