better error reporting when getting the IPython hash: print stderr and give the exception an explanation