Update lib/carbon/writer.py

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. (Same code edit as master)