Fixed Utils#fetchFile to close lock file certainly