more write() option handling [ci skip]