MNT: Use variable for path separator, not magic strings

@giltis this fixes your problem, merge it plz!