Fix travis build : FileWriter permissions issue