Adds file separator if missing