Switch to AutoClose instead of StreamUtils.

Change-Id: I6af125efcbd20942f62774570aa670b40ee12538
Reviewed-on: http://gerrit.dmdirc.com/3793
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>