file references require either downloadUri or streamUri set, can be either or both

Closes #140