Fixing result directory hierarchy creation.