Catch if module file is not set

When loading .net assemblies after import clr, the file attribute is present but not set, causing the autoreload module to not work appropriately.