The Windows version of tar doesn't play nicely with pipes. This way is more cross-platform.