[PATCH v3 4/8] quartz: Simplify error handling in GetClassMediaFile().