Apply (modified) patch by Mwmaps

https://www.mediawiki.org/wiki/Extension_talk:Maps#Creating_maps_layers_table_..._Database.php:_Could_not_open_file._41933

https://github.com/JeroenDeDauw/Maps/issues/30