Append path separator if not present.