[test server] log on error serving files
[test server] fix for node 0.10.x