Sorted the annoying open('asdf', 'wb') not clearing an existing file