lxc enter: cleanup filehandle usage