fix, cleanup and optimization in file->read() Rev: src/modules/files/file.c:1.203 Rev: src/stralloc.c:1.108 Rev: src/stralloc.h:1.57