Create platform_etc_dir if it does not already exist.

Before this fix if platform_etc_dir was configured to something that
does not already exist (e.g. /etc/riak) then there is an error on
attempting to create riak.conf in a parent directory that does not exist
(e.g. /etc/riak/riak.conf).