Improved frame() function in FileSequence by assuming an integer is passed in
rather than checking the type every time.