France charges main suspect in foiled attack plot