Bairstow keeps Yorkshire fighting