Fixed local FileSystem creation. 
Fixed local createDirectory.