CalMac has initiated legal proceedings against the Scottish Government.