A wrapper around optipng to support reading from STDIN and writing to STDOUT