fully working counted screen shots writer
stabilize file names in case game code is NULL