Section 58. Depositions to perpetuate the testimony of witnesses which are taken without the commonwealth under this chapter may be used in like manner as if taken within the commonwealth.