- fix error handling in solv_xfopen_buf