pub fn truncate_file(dst: &Path, size: u64) -> Result<()>
Truncate or extend a file to the specified size