TV pilot will turn Charlotte into 'Homeland'