Avoid leaking `romdir` file handle

If there is an error opening `extinfo`, the `rominfo` file handle isn't closed.