pub fn write_ron<T: Serialize + ?Sized>(path: &Path, data: &T) -> Result<()>
Serialize data to RON and write to path.