mvpa2.misc.io.base.
safe_write
Helper to write to a file and check result file size to match
mvpa2.misc.io.base.labels2chunks
mvpa2.misc.io.base.sub