Use posixpath when building paths for devices. r=wlachance