Fixed the OSD_INVALID_FILE macro