Bankruptcy petitions surged recently as Americans sought to beat the deadline before a more restrictive law took effect on October 17.