try fixing jpeg thumbnail generation

Signed-off-by: Joshua Rubin <jrubin@zvelo.com>