sahiTasks: fallback to regular file when looking up fileToUpload resource
cliEngine: log only when listener really processed a resource file
fix build warning