rename svae_dirname to dirname_prefix

and delegate keeping track of it to storage_accesor
__main__: use centrally set dirname_prefix