Swift changes

These changes need to go live on Monday to allow us to start migrating wikis to the new files storage.

@Wikia/platform-team @moliwikia