Small change to utils.py to make it more robust in the face of uploading problems.  This should help improve the overall stability of wxPi.py.