Fixed file preview to return plain text.