Fix image upload from AJAX importer