Scotland made it two wins from as many games in their WXV2 campaign with a 19-13 victory over Japan in Cape Town.