Free curves and fundamental groups of singular varieties