Fixes put multiple files

Fixes put multiple files
+ Replace Array.foreach with async.forEachSeries