Add write and close methods to keep newer chef clients happy