Ticket 48204 - Convert all python scripts to support python3
Description: Converted all the python scripts to support both
python2 and python3
https://fedorahosted.org/389/ticket/48204
Reviewed by: nhosoi(Thanks!)
(cherry picked from commit 18ae65bc31763fe0d8fbf2bc1e79ae2066e958d2)