Use random bytes for check file rather than time to prevent rare unlink error.