Fix crash bug in msvc

fprintf had incorrect number of arguments.
Merge pull request #53 from warmist/patch-1

Fix crash bug in msvc
fix broken tests
keep absolute path
Merge branch 'novawave-master'
Reformatted code from #54.