update uploaded file with stored on save.

It fixes #34

Without this change it is not possible to use `exercise/elastica-bundle` with `mapper-attachment` plugin. The uploaded file is removed on flush but the elastica bundle tries to index the file content at same time. Is there a change to get this merged?