#302 Fixed date format.
#248 Also treat files and folders as derived if the .derived is in the middle of their name. Do not use the last successful scenarios build to find build aliases.