Log an error when file can't be moved

If the app/webroot/files directory is not writable, then attempting to
add a Connection with an uploaded photo will fail. This commit does not
change this (correct) behavior, but merely logs the reason for the
failure.