Properly handle file descriptor closure/reopen during daemon creation

Previously the standard streams are incorrectly handled after
daemonization.  This commit restores the expected behavior.
Sync version tag 1.0.3 in doc