Solving 'fiscal cliff' puts charity writeoffs at risk