w+ should truncate anyways, so behave the same as w when stream_open is called