A study finds: Writing down your worries just before taking an exam can boost your test score.