Fixed frostos.lua

What you did before was terrible practice (leaving the file handle open and stuff).