Chdir in a block to dry up all method

Whilst testing out Fog with the `:local` provider, I kept having a problem with FakeFS. This change fixes compatibility with it but more importantly the exception raised when multiple threads access the same block is most likely the desired behaviour. Thoughts?