Add a safe utils.time_nonce function with a binary timestamp format.