changed the way letter images are saved

now they are saved to document directory at the same time with
uploading them to the database. letter images of letters not yet
assigned are not stored any more