Cache result of where call on Windows to avoid redundant lookups
On Windows, it's necessary to run where to add the correct file extension to a global command. This lookup potentially occurs multiple times for the same command during the same invocation of Antora. Cache the result of the where lookup so it only has to be performed once.