A subtraction scheme for processes involving fragmentation functions at NLO | Synapse