Verify if a module actually has a __file__ attribute so watchdog can watch it.