tests: add chmod test
tests: add chmod test

Makes sure we don't add regressions when fixing
https://github.com/rfjakob/gocryptfs/issues/259

rfjakob/gocryptfs,rfjakob/gocryptfs,rfjakob/gocryptfs,rfjakob/gocryptfs