Safe handle command file closures (!2)