ensure file read result is valid C string

When reading from file, increase read buffer size by 1 and
stuff a null terminator into the final element. This
guarantees the content can be used with such functions as
strlen().