Minor optimizations in Driver

We now bail out early if the user is defining a module whose name conflicts with
an autoloaded one. We also no longer repeatedly call file_read_contents
(possibly slow).