Handle errors in mime_node_open