Make tmpfs_snapshot.h usable in userland.

ok pedro@