Hotfix/migrate storage dates

# Purpose
Fix miscellaneous mistakes in file date migration

# Changes
* Improve logging
* Add main block
* Remove version count assertion
* Remove import side effect in tests/base

# Side effects
None expected