Merge pull request #8 from martinghunt/master

Add default adapters file
Use same function for all syscalls, so stdout/err only printed when something goes wrong