added string.filetemplate()

You can now load a template from a file.
Bug fix---ident string for syslog

Declare a static buffer to hold the ident string, because apparently some
implementations of openlog() don't cache this value and use the raw pointer,
which since it comes from Lua, may not be valid over the lifetime of the
program.