Add LOG_IO const to python bindings.