[#1721] Check if filename is not a directory when loading fixtures