Ensure the uuid/thumbnail is cleaned when the file has changed.
Allow to use env vars for config - closes #6