fix Writable.end overload