Write Version.java during build