__file__ attribute was missing from modules that used macros. Patch that attribute in upon macro expansion.