attributes and two small bug fixes for csv

csv appears to be created before there where attributes. It should be possible to use it in @safe code now
additionally, two of the exception ctors called super with arguments in the wrong order and therefore exception chaining was not possible.