Use fromstring() instead of fromarray()

Trac#11912 PIL < 1.1.7 fromarray doesn't handle 16 bit images properly, use fromstring as a workaround
merge dev_5_0 -D org -I include -E exclude: PR 63 (Use fromstring() instead of fromarray() #11912 (rebased onto dev_5_0))