use table.concat
string init for cap
tables allowed to initialise capabilities
fix incorrect assumption about trailing \0 on xattr values
add len metamethod to struct types returning size
fix up issues with fs caps