thephpleague/flysystem — pull request #165 by jildertmiedema (2014-05-26 12:24:12+00:00)
Title: Don't rewrite if the pointer is already 0

Not all streams support rewind(), this prevents the error "rewind(): stream does not support seeking".