fix jpeg coder for openjdk

https://www.linux.org.ru/forum/linux-org-ru/9586990

http://stackoverflow.com/questions/3432388/imageio-not-able-to-write-a-jpeg-file
http://stackoverflow.com/questions/464825/converting-transparent-gif-png-to-jpeg-using-java/1545417#1545417