Lua: stdio routines from dietlibc (with buffered file I/O)
Title should say it all.
Only tested text editor (load & save on itself). A little faster, right?
Didn't try stdin/stdout/stderr (had to include them as dependencies). They may work, or may require minimal changes. Same for io.write.