ENH: added fail option and corrected windows platform name
FIX: script generation
ENH: added buffered IO tests