Add function datauri to create a data URI from a file