Register files ran with `-m dg filename` as `__main__`.

This should fix pickling and other stuff.