Redirect PDF reader stdout and close FDs for cleaner experience

Should also be applied to webbrowser launching.