Python script tp convers text to image using PIL