Support Go modules & fix compilation errors
This uses the current version of the go-writeas library to fix compilation errors.