Close #24: Metadata generation doesn't work for snapshots with "timestamp version" in filename
 + some other metadata generation fixes