Thread-safe variation of get_resource_path.
Use this function when accessing this from multiple threads.
The returned string should be freed with g_free when no longer needed.
this |
an SourceWebdav |
the newly-allocated copy of resource_path |