Create /img directory if desn't exists, and set permissions properly.
Merge pull request #5 from jonhattan/master

Create /img directory if desn't exists, and set permissions properly.