fix cache_properties when setting PersistentFile to file attribute
save url template in prefix