Altering implementation so that local upload links in pages and posts are rewritten after media is uploaded to S3.