Mt. Gox files for bankruptcy to halt class-action suit