[docs] [issue20501] fileinput module will read whole file into memory when using fileinput.hook_encoded