Typo fix

- fixed typo in directory name (pluload to plupload),
- suggestions:
- changing file_exists to is_dir while actually checking for a directory,
- recursive=true in mkdir() might actually be safer