Factorize post_save signals for attachments