Bristol Rovers goalkeeper Josh Griffiths made a number of saves to keep the FA Cup tie goalless before the Gas beat Barnsley 4-3 on spot-kicks.