Improved resource handling using try-with-resources
There are many places in the onionoo-code where file and stream handles are not correctly closed within finally blocks. This patch reworks these places to use Java 7's new try-with-resources functionality.
Trac:
Username: firebrand