Fix a problem with filemode in the ant task

The file mode should be a string in the Ant task so that it will be
passed as a String to the PermMapper where the right Constructor will
convert it to an int using parseInt(mode, 8).