Updated with support for Windows symlinks. Still requires testing and improving.