Fixed exception handling in PNG generation.
Merge branch 'future' of github.com:wallix/redemption into future