NXP-11960: Use cross platform tzlocal lib to get the local timezone instead of time.tzname which is useless under Windows
NXP-11960: Don't instantiate a new Controller in test_synchronize_deep_folders to avoid SQLAlchemy DetachedInstanceError under Windows