Don't generate files when there's no complexTypes or abstract classes

Change-Id: I0918fb47866e85e911e2f2c57715013eb72c9613