Fix reading of lang directory

The previous code didn't support dots (.) in the path of the Aixada
instance, leading to screwed strpos() results.

Fixes issue #36
foo