Move support of stamp files to base Target class