Adding image edit for wordpress deprecated filter wp_save_image_file since WP 3.5 related to #17 (have not tested buddy press avatar)