Update timezone and locale

Protect the code from turkish characters (and other UTF-8 chars).
For more information, see http://blog.mover.io/php-locale-and-basename/