Writing An Image In Opencv Using Python With Active Directory