The previous code was discarding the error message from
createBinary() by calling errorToErrorCode().
This meant that such error were always reported unhelpful
as "Invalid data was encountered while parsing the file".
Other tools such as llvm-objdump already produce a more
useful error message in this case.