Fixed output directories not being created.
Fixed non-class files being passed along to the generator.