Update lib/carbon/writer.py (master)

Creating the directory tree with the proper umask/permissions in the environment. The new value of the umask will come from the Twisted parameter --umask. The permissions will now match the whisper archives.

Rebased https://github.com/graphite-project/carbon/pull/69 against current upstream master.