fixes paths to be diazo-friendly