Create dirs if they weren't there before.