stream_set_chunk_size() requires PHP 5.4