Fixing enum serialization, splitall.bat should not call itself.