Check for yaml and only guess ECSV if available
Python 3 compatibility
Inherit from basic reader instead of base