mkstemp doesn't specify a file mode, so we should chmod it to VOICEMAIL_FILE_MODE