BAC-939: Rewrite file URL in all environments

@Wikia/platform-team, @moliwikia