Reapply chmod to gen files