textios: Use a BSD-compatible call of mktemp
textios: Use more portable shebang lines
textios: Do all the work in mktemp()-dirs

Allows you to run multiple instances of textios and fancy stuff like
that...
textios: Remove switch statements in awk scripts

BSD compatibility and stuff.
README: Add "Compatibility" section