Do not fail if buildpack dir is readonly

After this change the buildpack directory can be mounted readonly, useful for development of the buildpack itself as described in [slugbuilder#buildpacks](https://github.com/flynn/flynn/tree/master/slugbuilder#buildpacks)  
I am not sure $CACHE_DIR is the best option here, probably an ephemeral temporary directory is better. what do you think?