Scots fight back for bonus-point win