Findbugs

Added findbugs to maven, and fixed 15 simple warnings
not closing OutputStream on error