Check if self.timestamp in method build_filename is really of date type and not just a string (#196)