Don't override environment's umask.
Merge pull request #238 from robocoder/patch-1

Don't override environment's umask.
Merge pull request #237 from eluceo/master

SizeCalculation from FileSystem
Add an optional mode for mkdir

This is a back-compatible change, to be able to choose a mode for mkdir.
fixed leak of resource in sftp->ensureDirectoryExists()

cleanup after a successfull call to opendir(), so the OS will not get
out of resource handles on long running processes.
Merge pull request #242 from staabm/sftpleak2

fixed leak of resource in sftp->ensureDirectoryExists()
Close underlying connection on destruction
Cleans up use statements and docblocks for File class.
Merge pull request #245 from woodsae/file-class-cleanup

Cleans up use statements and doc blocks for File class
Merge pull request #244 from staabm/patch-1

Close underlying connection on destruction
Merge pull request #240 from garak/patch-1

Add an optional mode for mkdir