XD-1581 Fix config location in scripts

- Set config locations prefix file: for non-batch files
- Always append "/" to XD_CONFIG_LOCATION so that when it gets appended for XD_MODULE_CONFIG_LOCATION it is valid
    - Also, having "//" (if the existing property already has "/" this change would still add one)
    on both *nix and windows seem to work fine.