Pass stderr as message property

When the promise is being rejected, the stderr is passed
to the user as 'message' property of the Error object.