I had this problem as well, and spent a lot of time dragging items out from the bag. Funny thing is later I found out that you shouldn't pick up the bag, but instead right click and open the bag. When you do so, there will be a take all button.