use correct file endings for .rst content