zsh: Fixed and tweaked 'extract' plugin