Fix __file__ attribute for modules that contain macros