Handle standard I/O instead of using exec-buffer

Jpegtran supports stdin/stdout.
Use smaller fixture to save build time
Add test case when a jpeg file is corrupt