Serializes and deserializes Path::Class objects as file:// URI