Create a data URI from a file