create all temporary directories at the beginning of dispatch