Add check for empty file in ImportsController#create.