[web] Stop using negative indices with os.stat results
The python doc says:
More items may be added at the end by some implementations.
.st_mtime is also more readable than [-2].
===================
Changelog history
===================
.. include:: 3.21.rst
.. include:: 3.20.rst
.. include:: 3.19.rst
.. include:: 3.18.rst
.. include:: 3.17.rst
.. include:: 3.16.rst
.. include:: 3.15.rst
.. include:: 3.14.rst