This commit also includes benchmarks proving the viability of reloading the magic database for every filetype request, should that become necessary.