Added ifMissing functionality to curl-dir

This is an attempt to implement an "if missing" like functionality: files are downloaded only if they are missing.
This is a bit far from #17 but goes into the direction of saving time and bandwidth