How to Write in Java Properties File