add example that uses fopen with a directory
Merge branch 'master' of github.com:skuhl/sys-prog-examples