pub fn write_binary_with_options_sync<P: AsRef<Path>>(
    filename: P,
    _options: Options,
    data: &[u8]
) -> Result<()>