Added handling of file storage for OS where
pthread process shared mutexes are missing
Authored by: artyom-beilis 2008-12-21
Parent: [r589]
Child: [r591]