fix {pre,post}-install filenames