add support for piping stdin into imageOptim

refs #9, #15