Correctly decode error messages on *nix.
Merge pull request #232 from Ventero/errormsg

Correctly decode error messages on *nix systems