File protocol support

This small change allows the Chrome extension to update files that aren't necessarily hosted on a server (i.e. `file:///home/...`).