The family of murdered American journalist James Foley said it was threatened by a US official with terrorism charges if they paid a ransom to his captors in Syria.