Improve error handling of grnxx::Storage.