empty extension mimetype bug fix; also C-style ptr notation