tasks/lalinference.py: wait for frame files being transferred
- Add a function which continues to query frame files until they become available
- Clean up functions to determine psdlength responding to this change
This patch solves this problem, which is caused because data is not transferred before Parameter Estimation starts.
cc: @leo-singer @vivien