[WIP]SPARK-2098: All Spark processes should support spark-defaults.conf, config file

If you're keeping this, you should document that this method will close the given input stream.