Fix Python 2.4 syntax in admin.py (See #10412)

This PR fixes a Python 2.4 / 2.6 syntax mismatch in admin.py. It does not change the logic regarding the OMERO service creation/deletion on Windows.