php --version on AWS:
PHP 5.6.26 (cli) (built: Oct 6 2016 19:48:12)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
on Bluehost (previous server):
PHP 5.2.17 (cgi-fcgi) (built: Sep 26 2016 15:33:30)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
I'm sure (?) I downloaded images from galleries that had spaces in the path previously, but it sure sounds like this issue: