Fix: Write canonincal path instead of object hash.