[GEM-dev] fixed filehandle leak?