Fix SaltResource loading bug

- Change file URI creation to work on parent file