Write/update PNG and JPEG.

Indirectly, using MEM datasets as an intermediary.

Closes #177.

Also add --driver option to rio-stack for integration testing.