implement a txt preview fallback for the case that ttf is not support

fixes https://github.com/owncloud/core/issues/9870#issuecomment-50310327

please review @MorrisJobke @DeepDiver1975 
You still use `imagettftext` in the fallback.