HADOOP-11414. FileBasedIPList#readLines() can leak file descriptors. (ozawa)

(cherry picked from commit ecf1469fa51f9977f70652fac313d4a9ec1eb86f)