pub fn write_binary<P: AsRef<Path>>( source_path: P, binary_data: &[u8], config: &BinaryConfig, ) -> Result<PathBuf>
Write binary data to the correct .dx path
Creates directories as needed and writes the binary data.