Remap files array for Guzzle so it support file. fix #342 with tests