1. Fix bugs in __alloc_ebuf_by_file_idx()
	put the buffer after write
2. Fix bugs in rmdir/unlink
Fix du bug