Rite Aid prepares bankruptcy filing, store closures