bugfix the filestream will be closed now
fixes NPEs which occured within the equals method of the TranslatableMessage class
implements junit tests