pub fn is_actively_writing_to(path: &Path) -> bool
Check if a file is being written to. Avoid thumbnail generation until after it is finished.