Fixed issue where interfaces that were in the same module as classes were
creating empty files.