Force string type for path