fix filtering number like filenames in filelist

forward port of https://github.com/owncloud/core/commit/847ad6c40b951cbd3d187e3c72cb55dc3acd6951