Fix uploading, use alternate write syntax
Quick release of 0.3.1