Switch JPEG encoder/decoder to UNIX line endings.