ERT-781 Faster implementation of CSV_EXPORT

Name: `addKeyword`

Check the return value and raise an exception if the add fails.