Use the REST API for file access instead of olddock's custom URL.

Verified that this actually works.