goptlib should provide a method for querying the state location.
The only place pluggable transports are allowed to write to is the
TOR_PT_STATE_LOCATION. goptlib should support querying (and maybe optionally) creating the directory.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information