Pass the directory in to the error manager.

Change-Id: I49d61f1540f5f9154b3821a309f9964dfcef5a72
Reviewed-on: http://gerrit.dmdirc.com/3174
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>