Added validation for fcr:import; improved error responses.

Why wrap this as an IOException?