configuring gpio/export before setting direction