[llvm-mc] Better error handling in ENOENT case + test.