Convert file paths to urls