libwinpr-utils: flush file after each write in wlog