fileOps: Bad buffer size on read

Resolve timeout on reading out of range.
Also prefer use API GetPreviewImage() instead GetFile() for previews.