Set dlopen filename to null if libname is false

Fixes #99
Use fdopen to accommodate OS specific I/O streams

- STDIN_FILENO  = 0
- STDOUT_FILENO = 1
- STDERR_FILENO = 2