Revert "qszhuan/edfeng : change file mode to 'w' when rotating"

This reverts commit 7685e546559d2f8c2cb2ee8b307d4c8028c2a92b.