[netlib] Use open_in_bin (thanks @nadako). Lib update closes #2286