WP-3121: Fix AJAX file fields when duplicated on a page.