avoiding path.join for building uri's as this api uses a platform specific separator.