Misc fixes for Trogdir syncing