Bunch of changes:
 * now when file is found in .parts directory it's always rechecked;
 * correct handling of noetag, noparts;
 * avoid asynchronous reading/writing to the index.