Support changing mode for $GOPATH

Added `mode` attribute which enables to change permission of `$GOPATH`.
It's useful to allow giving write permission to group in the go directory.