Fix for get_uri on non-root files. And --fsync option for commit.

--fsync merge. 
Fix for g_file_get_uri() on non-root files.