[WIP] PIM-3209 JobProfileController refactoring + fix bug export even with wrong file uploaded

In order to prevent importing invalid files