Stopped a race condition happening between copying the Dockerfile and tarring the context. Fixes #37 and fixes #35.