git keeps stomping on +x for generate_events.rb