Text this: Gender, race, and the writing of empire