Ignoring directories on rake test to upload files

My redmine instalation had the files on files/ folder separated by directories like year/month.
This fix tries to get all files recursivelly and ignore the directories.

fix ka8725/redmine_s3#20