pub fn save(file_name: &str, data: &[u8]) -> Result<()>
Show a save file dialog and write the data into the file