This patch makes safeio preserve file ownership. This is specially useful when using command-line utilities as root, but the files they change are owned by a different user.