Better algorithm for figuring out a projects output folder.