changed the way gender is exported to mysql files