Neutron tunneling in heavy-ion reactions and the extraction of nuclear spectroscopic factors