stream_opener API is constified only in 5.6