Bug 1001849: expose general chmod, and chmod-to-umask, support in OS.File. r=yoric
Bug 961080: apply umask upon completion of downloads. r=amadini