Fixed the URLs and temporary file permissions for SilverStripe 3.X.X changes.