Correct and test build/incrementSemver.js


The path must be computed properly for the write step, read '../package.json' works but not write.