Fixed issue with OFile impl without an opened channel