ENYO-2809: fix edited file closing issue
ENYO-2809: remove dead code
Merge pull request #479 from enyojs/ENYO-2809

ENYO-2809: fix edited file closing issue