Close handles in finally() in FileUtil