use default values for metatiling width/height if not present in layer description
only check for possible WindowsError when unlinking file if we are in Windows