Fixed problem when downloading snapshots

This will fix #14