Add custom write url

add optional writeUrl to use for a custom public npm

cc @indexzero