build: Fail if generating empty files