convert to sed substitution in os.*.files