Path to/from string conversion.