Allow exception handler on command line

If you're just writing a simple error/exception handler, it seems like a lot of overhead to have to write your own worker. This patch allows the user to pass in a path to a function to use as an exception handler.