Couple of fixes

1. When you start cgo with a path to anything else but a directory cgo prints
   every line of the response prefixed by 'miss[]'. Try to recognize if the
   response is actually a direcory.

2. Recognize error messages in server responses

3. fix install if $PREFIX/bin doesn't exist yet