Fix strtolower on $this->allowedExtensions. 

Fixes #36