Added blocking calls to the File driver.

Changed the calls in the File Driver to be blocking calls. Currently, if the lock cannot be acquired, it fails silently.