Ignored a BadPaddingException if the encrypted stream is not read completely

As reported on the forum, a BadPaddingException prevents opening an
encrypted ".portfolio" file. The issue occurs with one of the latest
Java updates. I was able to reproduce it with 1.8.0_25 while it is not
happening with 1.8.0_05.
Release 0.14.5