Added missing error handlers in lib/dockerBuilder.js