Don't truncate php streams in write()