fn store(dir: &Path, tls: &ViewerTls) -> Result<()>
Write both files through a temporary name, the key readable by this user only where the platform has modes.