use conflict event in write stream instead of error event