slapformat: Fix python3 bytes/str mismatch in dump
The slapos node format
command fails in Python3 because it tries to dump information in str
format into files opened in bytes
mode. The unit tests didn't see this because they call the computer.format()
method directly from Python without calling computer.dump()
after like the command line does.