Check if seekable() before calling seek()