Fix generate-all-export.rb to assume capabilities.