Fix: snapshot with multiple UIDs

This commit refs #615. Waiting on the confirmation of the author to
close it.

Signed-off-by: David Goulet <dgoulet@efficios.com>
Add .dirstamp to gitignore file

Signed-off-by: David Goulet <dgoulet@efficios.com>