Remove useless trailing space in filename
Fix braindead filesystem assumption. Assuming every filesystem is case-insensitive in 2013: http://goo.gl/tTbgV