Minor comfort corrections

- doesn't try to write over directories -> no write failure shown for them
- removes its temporary file even if the last operation ended up with a failure to write
- added make install