install/install_redhat.py: Fixed #! line to /usr/bin/env, refactored function: logfile_open