Convert a path to a file url: unicorn.jpg ➔ file:///Users/sindresorhus/unicorn.jpg