diff --git a/lib/fs-tools.js b/lib/fs-tools.js
index <HASH>..<HASH> 100644
--- a/lib/fs-tools.js
+++ b/lib/fs-tools.js
@@ -129,7 +129,7 @@ function copy_symlink(src, dst, callback) {
 
 
 function copy_directory(src, dst, callback) {
-  fs.mkdir(dst, '0755', function (err) {
+  fstools.mkdir(dst, '0755', function (err) {
     if (err) {
       callback(err);
       return;
Replaced fs.mkdir with fstools.mkdir since the latter checks for the existence of the destination before creating it.