copy store through a temporary file + fsync destination directory entry