fixes #2735: remove sites/domain from file URIs