Renamed file URI will be constructed correctly