Fix for opening some jar files

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>