Set sticky bit properly on dir creation
Set initial rdebug level from debug_flag
Merge pull request #171 from arr2036/master

Man pages say you shouldn't set sticky bits with mkdir