ENH(BF?): overload open() (for buffering) within filtertestcase to guarantee atomic writing

This is with the hope to further resolve random tests failures
( primarily on fast travis-ci systems ;) )