If only a small image is being downloaded. That will keep localPath null, thus exception. So just use localPathSmall in that case.

Signed-off-by: Connor Tumbleson <connor.tumbleson@gmail.com>
Merge pull request #35 from iBotPeaches/master

fix exception when only downloading small images