Chris Dagnall struck his third goal in as many games to send Barnsley through to the FA Cup fifth round with a 1-0 win at Hull.