Added open(2) and read(2) into tiny_runtime.
Fixed dup(2) to work on a slave.
Added the test for dup(2) on a slave.