Update log.lua

Wrap io.open with assert() so we get a more direct error when the server crashes due to a read error(file/folder not available)