Normalise URIs when inserting files