Add str coercion to path classes