typo fix.
Fixes #1332: generate subdirectories when needed during message extraction process.