The defendant must, in all cases, be taken before the magistrate without unnecessary delay. R.L.1910, § 5639.