switch to using subtests
Filehandles are recreated in the same mode as the original

Uses FileHandle::Fmode.  If not installed, it will use the old mechanism of
trying read mode, then write
doc updates
new version