Textile maker Malden Mills has filed for bankruptcy for a third time and said it is to sell to turnaround specialist Gordon Brothers Group.