Bug fix and revert ShuffleMemoryManager
Fix some bugs in spilling to disk
Modify to use BlockObjectWriter to write data
Fix incorrect block size introduced bugs
Address the comments
Fix some bugs