Don't save non-empty folders. Enforce relative URIs