incomplete files are now created with a temporary name to prevent race conditions with rsync