Clean up mime.py a tad. Stop implementing our own splitext().