return errors for writeStringToFile
fix initial period, should be nanoseconds not microseconds
update status in docs