public static void RemoveFileProgress(string path) {
try {
Syscall.removexattr(path, extendAttrKey);
NSFileAttributes attr = NSFileManager.DefaultManager.GetAttributes(path);
attr.CreationDate = (new FileInfo(path)).CreationTime;
NSFileManager.DefaultManager.SetAttributes(attr, path);
} catch (Exception ex) {
Logger.Debug(String.Format("Exception to unset {0} creation time for file status update: {1}", path, ex));
}
}