TST: added ensure_clean file cleanup context manager for file based tests