Rolling writer: fixed rename issue on windows. #35.