Fuller normalised splitpath function