Thread-safe variation of get_default_ext.
Use this function when accessing this from multiple threads.
The returned string should be freed with g_free when no longer needed.
an SourceWebDAVNotes
a newly-allocated copy of default_ext, or null, when none is set
null