Simple image resizer and thumbnail generator for node.js as a stream