Handle already opened files in io.FileUtil