I've written a tool that prompts the user for a directory path, and optionally a single mxd. It then crawls the directory for mxds (or just the single one) and writes some of the properties of the layers in each mxd to a csv file. Most of this works fine, except none of the data sources are...