comment out the sample Swift storage config in config.sample.php

Distros like to install config.sample.php as an initial 'seed' config; if the Swift config is uncommented, the OC install will try and save content to it, with predictable results.