Normalize input paths