Cache the fileinfo in OC\Preview

cc @DeepDiver1975 @karlitschek @PVince81