CoreSchema now auto-creates tmpdir, if needed

This change is needed since changing the load order, since the
CoreSchema now gets loaded before other components which automatcially
already created the tmp dir