fix mkdir

Fix a little mistake in mkdir and clean some stuff up.
Merge branch 'master' of https://github.com/janthiemen/org.webosports.app.filemanager
Merge pull request #3 from janthiemen/master

Fix mkdir