Added a button to create a directory when path is doesn't exist. #282

Button will create directories when path doesn't exist.

* handles a case where parent directory doesn't exist.  when /a/b/c/ is given, checks parent's directory first and create if doesn't exist.

* Removed currently existing create directory under test api and replaced with this one.