CB-2725: Fix www deploy issues with symlinks

- Fixes issue when 'www' is a symlink
- Fixes issue with symlinks when deploying to an actual device