FileWriter/Reader: add locks (not strictly necessary now, but will in the...

FileWriter/Reader: add locks (not strictly necessary now, but will in the future when accessing from different threads)
15 jobs for pointerwrapper in 24 minutes and 13 seconds (queued for 1 second)