change path separator; prefix key with separator