Retrieves module information from a file or script. Enhances
Module::Info->new_from_file to include dir and name attributes.
