You should use $OPENSHIFT_NODEJS_DIR/tmp like we do in v1.