Make sure resource links in published content use md5 hash

This can be revoked when "files" table is migrated to use sha1 hash