pub fn ax_truncate_file(file: &AxFileHandle, size: u64) -> AxResult
Truncates the file to the specified size.