correct bad input paths created by context settings

https://github.com/oo12/phpThumbOf/issues/13