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