migrateImagesToSwift: support custom ports + progress bar