fix cedar-14 bundler cache bugs

Encountered issues with the minitest gem, since it sets files to not have write permission. This pull request removes the files before trying to write over them so the permission denied error isn't there anymore.