Fix ByteArrayFileWriter
Problem: Currently, it overwrites the previous written byte array each time it receives a new byte array.
Solution: Open the file stream on start, insert a byte array on each reception, and close the stream on termination.
Problem: Currently, it overwrites the previous written byte array each time it receives a new byte array.
Solution: Open the file stream on start, insert a byte array on each reception, and close the stream on termination.