Implement error handling in OpenAndLoad* functions so the Linker can handle it.