Use MimeMagic::singleton() instead of instantiating a new class

Change-Id: I3299c66568780c1026ebabecddda51f0f2fdc9c2
Merge "Use MimeMagic::singleton() instead of instantiating a new class"