ensure the file exists before updating the fingerprint