fix incompatible addition: String + Pathname