use Array.join instead of path.join; prevents path errors on network shares (Windows Azure environments particularly)