Handle CSV errors more gracefully. Closes #57.