added openbsd5 files, added popen implementation