Nottingham Forest needed penalties to overcome third-tier Exeter in the FA Cup on Tuesday.