Don't leak streams when installing aliases.

Change-Id: I31ee806e231fad5f81c55aaa51e90728c2a031b5
Fixes-Issue: CLIENT-522
Reviewed-on: http://gerrit.dmdirc.com/3644
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>