Add some more piface compatability functions

Added trivial read_input(), read_output(), and write_output()
compatability functions from legacy piface module.