Add rename() to BasePath.