upped version number to 0.2.12
fix minor glitch that prevented max_num_attempts field from being properly updated when using default in streamtrack
add some error checking to file I/O in track file writer