Changed ${addon-javapackage-name} to addon-javapackage-name for java
templates, and added FileOperations class.