trivial brainwaresrcio pyflakes fixes
add brainware dam file io and tests