Optipng fills the buffer when there are many files