Create cookie file only if it doesn't already exist.