Fix issues found by mass usenet dragnet.
Convert the read_file shim in the MIME tree from being synchronous to asynchronous.
Port the xpcshell glue code to use readFile instead of readFileSync.