A copy of the data frame is now returned if the index column is rewritten. Fixes issue #57.