Fix Dataset.rename so perserves the type of XArrays it renames

Previously, it was turning CoordXArray objects into XArray objects.