fomosto: use directory name for store ID